<template>
  <div id="followHeader">
    <div class="left iconfont">&#xe7ba; 随拍</div>
    <div class="middle">
      
      <router-link :to="{path:'/follow',query:{page:'关注'}}">
        <span class=" header-span">关注</span>
      </router-link> |
      
      <router-link :to="{path:'/friend',query:{page:'好友'}}">
        <span class="header-span">好友</span>
      </router-link>
      
    </div>
    <div class="right iconfont">&#xe636;</div>
  </div>
</template>

<script>
export default {
  name: 'followHeader'
};
</script>

<style scoped>
a{
  color: #FFFFFF;
}
#followHeader {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 1.5rem;
  line-height: 1.5rem;
  margin: 0 auto;
  background-color: #000000;
  z-index: 9999;
}

#followHeader .left {
  position: fixed;
  left: 0;
  top: 0;
  color: #ffffff;
  width: 20%;
  text-align: center;
  font-size: 0.35rem;
}

#followHeader .right {
  position: fixed;
  right: 0;
  top:0;
  color: #ffffff;
  width: 20%;
  text-align: center;
  font-size: 0.4rem;
}

#followHeader .middle {
  text-align: center;
  font-size: 0.4rem;
}
.middle .header-span {
  font-size: 0.4rem;
  line-height: 1.5rem;
}
</style>
